import {Loading} from "vant";


var loadingInstance;

export function showLoading() {
    loadingInstance = Loading.service({
        fullscreen: true, // 全屏显示
        lock: true, // 防止滚动
        text: '加载中...', // 加载文案
    });
}

export function hideLoading() {
    loadingInstance.close();
}